<script type="text/javascript" src="{$base_dir}modules/general_emr/js/AJAX_CanLamSang.js"></script>
{literal}
<style>
<!--
div.encounter div {
    height: 90px !important;   
    line-height: 90px !important;     
}          

textarea {
    padding: 3px;
}   
.name-code {
    height: 34px;
    line-height: 34px;
    padding-left: 10px;
    color: #333
}

.name-code b {
    color: #0469BB;
}

.patient-item {
    cursor: pointer;
    padding: 5px 0;    
}

.patient-item-active {
    background-color: #DDDDDD !important;
    background-image: url(../images/next.png);
    background-position: right center;
    background-repeat: no-repeat;
}
-->
</style>

<script type="text/javascript">
$(document).ready(function() {
    $('.patient-item').click(function() {
    	$('.patient-item').removeClass('patient-item-active');
        $(this).addClass('patient-item-active');

        var title = $(this).find('div:first-child').text();
        $('#rightHeader div:first-child').text(title);    
    });

    $('#ketquaCLS').click(function() {
    	loadKetQuaCLS();
    });

    $('#chidinhCLS').click(function() {
    	loadChiDinhCLS();
    });
});

</script>
{/literal}

<div style="margin-top: 5px;border: 1px solid #BBB">
    <div class="left" style="width: 200px; border: none; border-right: solid 1px; margin-right: -1px; border-color : #BBB">                
        <div id="patientList" style="height: 575px; max-height: 575px; overflow: auto; background-color: #FEFEFE;">
            
            <div id="ketquaCLS" class="patient-item patient-item-active" >
                <div class="name-code"><b>Kết quả CLS</b></div>
            </div>
            <div id="chidinhCLS" class="patient-item" >
                <div class="name-code"><b>In chỉ định CLS</b></div>
            </div>            
        </div>
    </div>

    <div class="left" style="width: 777px; border: none;border-left: 1px solid #BBB">
        <div id="rightHeader" style="height: 25px; line-height: 25px; border-bottom: 1px solid #BBB; background: url('../images/tbl_header.png') top left repeat-x;">
            <div style="font-weight: bold; font-size: 11px; padding: 0 10px;">Kết qủa CLS</div>                                     
        </div>               
        
        <form id="frmCLSEdit">
            <input type="hidden" name="recordId" id="recordId" value="{$recordId}">
            <div id="rightContent">
                {include file="can_lam_sang/general_ket_qua_cls.html"}
            </div>        
        </form>
    </div>
    
    <div style="clear: both;"></div>
    
</div>